package com.mcxx.modules.extremepoverty.service;

import com.mcxx.modules.miniSalvation.order.dto.NoticeBoardDTO;
import com.mcxx.modules.miniSalvation.order.entity.NoticeBoardDetailEntity;
import com.mcxx.modules.miniSalvation.order.param.OrderListSearchParam;
import com.yinhai.ta404.core.security.vo.UserAccountVo;

import java.util.List;
import java.util.Map;


public interface ExSalvationNoticeBoardService {

    int saveBatchObject(List<NoticeBoardDetailEntity> noticeBoardDetailList, UserAccountVo userAccountVo, boolean isChildren);


    Map<String, List<String>> confirmBatch(List<String> batchNoList, UserAccountVo userAccountVo);


    Map<String, List<String>> deleteBatch(List<String> batchNoList, UserAccountVo userAccountVo);


    Boolean deleteRedisKey(String batchId);


    boolean changeDtoToEntity(NoticeBoardDTO noticeBoard, UserAccountVo userAccountVo);


    Map<String, List<String>> finishBatch(List<NoticeBoardDetailEntity> changeData,
                                          String batchNo,
                                          String batchId,
                                          String finishRemark,
                                          UserAccountVo userAccountVo);


    Map<String, Object> printNoticeBoardTown(OrderListSearchParam param);

    Map<String, Object> printNoticeBoardCounty(OrderListSearchParam param);


    void createChildNotice(NoticeBoardDTO noticeBoard, UserAccountVo userAccountVo);


    List<NoticeBoardDTO> cntNoticeIdCertNum(String batchId);
}
